list = [1,2,3,4]

it = iter(list)

for x in it:
    print(x,end=" ")

